package cn.wolfcode.shop.api.util;


import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter@Getter
public class JsonResult implements Serializable{
    private boolean success = true;
    private String msg;

    public JsonResult(){}

    public JsonResult(boolean success, String msg){
        this.success = success;
        this.msg = msg;
    }
    public JsonResult(String msg){
        this.msg = msg;
    }
}
